{template 'header'}
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default">
                        
                        <div class="panel-body">
                        <a href="/addons/{MODEL_NAME}/static/images/ali.docx">
                            <div style="margin-left:10px;" class="getdaoyuid btn btn-sm btn-danger" >
                                <i class="ace-icon fa fa-download bigger-110"></i>
                                下载阿里云接入指南
                            </div>
                        </a>
                        <a href="/addons/{MODEL_NAME}/static/images/tx.docx">
                            <div style="margin-left:10px;" class="getdaoyuid btn btn-sm btn-danger" >
                                <i class="ace-icon fa fa-download bigger-110"></i>
                                下载腾讯云接入指南
                            </div>
                        </a>
                            <form action="{php echo webUrl('companyset/index/message')}" method="post" enctype="multipart/form-data" class="form-horizontal " style="margin-top: 20px;">
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">appid</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="appid" value="{$result['appid']}">
                                        <input type="hidden" name="token" value="{$_W['token']}">
                                        <span class="help-block">阿里短信字段为accessKeyId，腾讯短信为appid</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">appkey</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="app_key" value="{$result['app_key']}">
                                        <span class="help-block">阿里短信字段为accessKeySecret，腾讯短信为appkey</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">接收者手机号</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="phone" value="{$result['phone']}">
                                        <span class="help-block">获取短信的手机号</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">模板id</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="templId" value="{$result['templId']}">
                                        <span class="help-block">阿里短信：类似于SMS_777777777 腾讯：全数字id</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="lastname" class="col-sm-2 control-label">接收者姓名</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="position" name="params" value="{$result['params']}" >
                                        <span class="help-block">短信模板中如果未设置接收者，姓名为空即可</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">签名</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="notice" name="sign" value="{$result['sign']}" >
                                        <span class="help-block">短信平台审核的签名不需要带【】</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">状态</label>
                                    <div class="col-sm-8" style="margin-top: 8px;">
                                        <label>
                                            <input type="radio" {if $result['type']==0} checked {/if} checked name="type" value="0">不开启
                                        </label>
                                        <label>
                                            <input style="margin-left: 20px;" {if $result['type']==1} checked {/if} type="radio" name="type" value="1">阿里云
                                        </label>
                                        <label>
                                            <input style="margin-left: 20px;" {if $result['type']==2} checked {/if} type="radio" name="type" value="2">腾讯云
                                        </label>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="firstname" class="col-sm-2 control-label">测试发送手机号</label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" id="cs_phone" name="cs_phone" value="">
                                        <span class="help-block">此手机号为测试发送手机号，不会被系统保存，点击保存自动发送，填空不发送</span>
                                    </div>
                                </div>
                        </div>
                        <div class="panel-footer">
                            <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i> 保存</button>
                            <button type="reset" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> 撤销</button>
                        </div>
                        </form>
                    </div>

                    </div>
                </div>
            </div><!--/.row-->
    {template 'footer'}